<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
		<title>Leave Application System Management: Admin Login</title>
		<style type="text/css">
			.FieldErrorMsg {
				color: red;
			}
		</style>
	</head>
	<body>
		<center>
			<form action="${requestScope.CallerControl}" method="post" >
				<table border='0' align='center' >
					<tr align='left'' valign='top'>
						<td colspan='4' ><h3>Leave Application System Management: Admin Login</h3></td>
					</tr>
					<!-- Start of Actual Form Content -->					
					<tr align='left'' valign='top'>
						<td colspan='4' ><div class="FieldErrorMsg">${requestScope.GeneralMsg}&nbsp;</div></td>
					</tr>
					<tr align='left'' valign='top'>
						<td>Employee ID:</td>
						<td colspan='2''><input name="EmployeeID"  type="text" size="20" maxlength="20" value="${requestScope.EmpIDInitialText}" /></td>
						<td><div class="FieldErrorMsg">${requestScope.EmpIDMsg}</div></td>
					</tr>
					<tr align='left'' valign='top'>
						<td>Password:</td>
						<td  colspan='2'><input name="Password"  type="password" size="20" maxlength="20"/></td>
						<td><div class="FieldErrorMsg">${requestScope.PasswordMsg}</div></td>
					</tr>
					<tr align='left'' valign='top'>
						<td></td>
						<td align='left'>
							<button type="submit">Login</button>
						</td>
						<td align='right'>
							<button type="reset">Reset</button>
						</td>
						<td><!-- Spacer to reserve space for Messages -->
							<div style="width: 250px;">
								<!-- Hidden Field to differentiate first load from submission -->
								<input type="hidden" name="IsSubmit" value="true" />
							</div>
						</td>
					</tr>
					<!-- End of Actual Form Content -->
					<tr align='left'' valign='top'>
						<td></td>
						<td colspan='3' ><a href="LoginStaff">Go To Staff Login</a></td>
					</tr>
				</table>
			</form>
		</center>
	</body>
</html>